package com.test.mytest.jmx;

public class Hello implements HelloMBean {
    private String name;
    private String age;

    @Override
    public String getName() {
        System.out.println("getName:"+name);
        return name;
    }

    @Override
    public void setName(String name) {
        System.out.println("setName:"+name);
        this.name = name;
    }

    @Override
    public String getAge() {
        System.out.println("getAge:"+age);
        return age;
    }

    @Override
    public void setAge(String age) {
        System.out.println("setAge:"+age);
        this.age = age;
    }

    @Override
    public void helloWorld() {
        System.out.println("helloWorld");
    }

    @Override
    public void helloWorld(String str) {
        System.out.println("helloWorld："+str);
    }

    @Override
    public void getTelephone() {
        System.out.println("getTelephone");
    }
}
